home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Online / hsc / source / hscprj / pdefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-02  |  2.0 KB  |  62 lines

  1. /*
  2.  * This source code is part of hsc, a html-preprocessor,
  3.  * Copyright (C) 1995-1997  Thomas Aglassinger
  4.  *
  5.  * This program is free software; you can redistribute it and/or modify
  6.  * it under the terms of the GNU General Public License as published by
  7.  * the Free Software Foundation; either version 2 of the License, or
  8.  * (at your option) any later version.
  9.  *
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; if not, write to the Free Software
  17.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  */
  20. /*
  21.  * hscprj/pdefs.h
  22.  *
  23.  * project-managment-defines for hsc
  24.  *
  25.  */
  26.  
  27. /*
  28.  * project_file:
  29.  *
  30.  * line 1  : "HSC_PROJECT"                   to identify prokect file
  31.  * line 2  : "VERSION x"                     file format version
  32.  * comments: "# xxx"                         some comment lines
  33.  *
  34.  * fileinfo: "DOCUMENT"   len uri            document
  35.  *                                           start document-info block
  36.  *           "SOURCE"     len file           hsc-source used to create
  37.  *                                           this document
  38.  *           "TITLE"      len title          document title
  39.  *           "ID"         len idname         ID defined in this doc.
  40.  *           "INCLUDE     len file"          file included during
  41.  *                                           processing this document
  42.  */
  43.  
  44. /*
  45.  * IDs in project file
  46.  */
  47. #define FILEID_HSCPRJ    "HSC_PROJECT"
  48. #define VERSION_HSCPRJ   2
  49.  
  50. #define LINE_VERSION_STR  "VERSION"
  51. #define LINE_REM_STR      "#"
  52.  
  53. #define LINE_DOCUMENT_STR  "DOCUMENT"
  54. #define LINE_SOURCE_STR    "SOURCE"
  55. #define LINE_TITLE_STR     "TITLE"
  56. #define LINE_ID_STR        "ID"
  57. #define LINE_INCLUDE_STR   "INCLUDE"
  58. #define LINE_REFERENCE_STR "REFERENCE"
  59.  
  60. #define ID_CALLER_STR "FROM"
  61.  
  62.